diff -Nur MPlayer-1.0rc2.orig/stream/url.c MPlayer-1.0rc2/stream/url.c
--- MPlayer-1.0rc2.orig/stream/url.c	2007-10-07 14:49:26.000000000 -0500
+++ MPlayer-1.0rc2/stream/url.c	2008-02-01 10:04:09.851900575 -0600
@@ -328,6 +328,7 @@
 		}
 	}
 	
+	tmp = NULL;
 	while(i < len) {
 		// look for the next char that must be kept
 		for  (j=i;j<len;j++) {
